﻿using Gp.Scripts.Data;

namespace Gp.Scripts.Core
{
    public partial class Event_Unit
    {
        public class BuffChange : Event_Unit
        {
            public BaseBuff TargetBuff;
            private bool _removeFlag;
            public bool IsRemove => _removeFlag;
            public bool IsAdd => !_removeFlag;

            public BuffChange(BaseBuff targetBuff, bool removeFlag)
            {
                TargetBuff = targetBuff;
            }
        }
    }
}